home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWToolbx / Include / PRWinPro.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.9 KB  |  75 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PRWinPro.h
  4. //    Release Version:    $ ODF 1 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef PRWINPRO_H
  11. #define PRWINPRO_H
  12.  
  13. #ifndef FWSTDDEF_H
  14. #include "FWStdDef.h"
  15. #endif
  16.  
  17. #ifndef SLPTRECT_H
  18. #include "SLPtRect.h"
  19. #endif
  20.  
  21. //========================================================================================
  22. //    Forward Declarations
  23. //========================================================================================
  24.  
  25. class ODFrame;
  26.  
  27. //========================================================================================
  28. //    struct FW_SWindowProperties
  29. //========================================================================================
  30.  
  31. struct FW_SWindowProperties
  32. {
  33.     FW_Boolean            fHasWindowProperties;
  34.     
  35. #ifdef FW_BUILD_MAC
  36.     short                  fMacProcID;
  37.     FW_Boolean             fMacHasCloseBox;
  38.     long                   fMacRefCon;
  39.     Str255                 fMacTitle;
  40. #endif
  41.  
  42.     FW_SRect             fBoundsRect;
  43.     FW_Boolean             fIsResizable;
  44.     FW_Boolean             fWasVisible;
  45.     FW_Boolean             fIsFloating;
  46.     FW_Boolean             fIsRootWindow;
  47.     FW_Boolean             fShouldShowLinks;
  48.     ODFrame*              fSourceFrame;
  49. };
  50.  
  51. //========================================================================================
  52. //    global Function
  53. //========================================================================================
  54.  
  55. FW_EXTERN_C_BEGIN
  56.  
  57. #if defined(FW_ODFLIB_IMPORT)
  58. #pragma import on
  59. #elif defined(FW_ODFLIB)
  60. #pragma export on
  61. #endif
  62.  
  63. FW_Boolean SL_API        FW_PrivReadWindowProperties(Environment* ev, FW_SWindowProperties* windowProperties, ODFrame* frame);
  64. FW_PlatformError SL_API    FW_PrivInitWindowProperties(FW_SWindowProperties* windowProperties);
  65.  
  66. #if defined(FW_ODFLIB_IMPORT)
  67. #pragma import off
  68. #elif defined(FW_ODFLIB)
  69. #pragma export off
  70. #endif
  71.  
  72. FW_EXTERN_C_END
  73.  
  74. #endif
  75.